// Copyright(c) 2011 Matthew McMullan, Jorel Lalicki and Mike Heise, Jorel Lalicki and Mike Heise. See copying.txt for details.

#ifndef __agml_os_h__
#define __agml_os_h__

// make sure that this file is never included directly
#ifndef __agml_agml_h__
#error "Include AGML from agml.h only. This file is not a valid entry point for the library."
#endif

// define OS
#ifdef __linux__
#define __agml_os_linux
#elif defined __OpenBSD__ || __NetBSD__ || __FreeBSD__ || BSD
#define __agml_os_bsd
#elif defined _WIN32 || __WINDOWS__
#define __agml_os_win
#ifdef _WIN64
#define __agml_os_win64
#else
#define __agml_os_win32
#endif
#elif defined __APPLE__ || __MACH__
#define __agml_os_mac
#else
#define __agml_os_other
#warning "You are compiling for an unsupported OS."
#endif

// allocators
#include "alloc/alloc.h"

#endif
